﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="WUCPermisosDePortafolio.ascx.cs"
    Inherits="WebUserControls_WUCPermisosDePortafolio" %>
<%@ Register Assembly="obout_Flyout2_NET" Namespace="OboutInc.Flyout2" TagPrefix="cc2" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="WUCBusquedaUsuario.ascx" TagName="wucbusquedausuario"
    TagPrefix="uc2" %>
    <link href="../Styles/SiteEcoGroup.css" rel="stylesheet" type="text/css" />
  

    <style type="text/css">
    .float_left
    {
        float: left;
    }
    
    .float_right
    {
        float: right;
    }
    
    /* Adjust this width to fit your needs */
    .container
    {
        width: 350px;
    }
    
    .container_head
    {
        height: 30px;
        background-image: url(../img/sidebar_center.jpg);
    }
    
    /* To Center align the title add: text-align:center; */
    .container_head_text
    {
        height: 23px;
        padding: 7px 0 0 0;
        font-family: Arial, Helvetica, sans-serif;
        color: #666666;
        font-size: 16px;
        font-weight: bold;
    }
    
    .container_content
    {
        background-color:White;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
        padding: 5px;
        color: #666666;
        border-width: 1px 1px 1px 1px;
        border-spacing: 0px;
        border-style: none solid solid solid;
        border-color: #E7E7E7;
    }
</style>

<asp:Label ID="lblMensaje" runat="server"></asp:Label>
<asp:HiddenField ID="hdfNombreUsuario" runat="server" />
<br />
<br />
<br />
<br />
<br />
<table id="TablaPermisos" runat="server" border="0" cellpadding="0" cellspacing="1" >
    <tr>
        <td class="tabla_verde" valign="middle" style="text-align: right;" cellpadding="0" cellspacing="1">
       
        <asp:Label ID="lbtnBuscarUsuarios" runat="server" ForeColor="White" 
        >Buscar Usuario</asp:Label>      
        <asp:Image ID="imgBuscar" ImageUrl="~/img/search-icon.png" runat="server" Width="12" Height="12" />
        &nbsp;&nbsp;        
        </td>
    </tr>
    <tr>
        <td>
            <table border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC"    >
                <tr>
                    <td bgcolor="#FFFFFF" width="100%">
                                <table>
                                    <tr>
                                        <td>                           
                                           <strong>Usuario seleccionado:</strong> <asp:Label ID="lblusuarioSelec" 
                                                    runat="server" Font-Size="Large" 
                                            ForeColor="Black" style="color: #003399"></asp:Label>                
                                        </td>
                                    </tr>                
                                    <tr>    
                                        <td>
                                            <strong>Estado:</strong> 
                                           <asp:Label ID="lblEstado" runat="server" ForeColor="Green" 
                                                style="font-weight: 700"></asp:Label>
                                        </td>                
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:CheckBoxList ID="chkPermisos" runat="server" Width="301px" Font-Size="X-Small">
                                            </asp:CheckBoxList>
                                        </td>
                                    </tr>
                                     <tr>
                                        <td>
                                            <asp:Button ID="btnAprobar" runat="server" Text="Aprobar" Visible="False" Width="61px" 
                                                onclick="btnAprobar_Click" />
                                            <asp:Button ID="btnRechazar" runat="server" Text="Rechazar" Visible="False" 
                                                Width="67px" onclick="btnRechazar_Click" />
                                            <asp:Button ID="btnSolicitar" runat="server" Text="Solicitar" Visible="False" 
                                                Width="67px" onclick="btnSolicitar_Click" />
                                            <asp:Button ID="btnInactivar" runat="server" Text="Inactivar" Visible="False" 
                                                Width="59px" onclick="btnInactivar_Click" />
                                            <asp:Button ID="btnRenovar" runat="server" 
                                                Text="Renovar" Visible="False" Width="56px" onclick="btnRenovar_Click" />
                                        </td>
                                     </tr>
                                    </table>
                                </td>
                            </tr>
                     </table>       
            </td>
        </tr> 
</table>
<div id="divAlias" runat="server" visible="false">
<br />
<asp:UpdatePanel ID="upAlias" runat="server">
    <ContentTemplate>
        <b>Alias: </b><asp:Label ID="lblAlias" runat="server" Text="algo"></asp:Label>&nbsp;&nbsp;
                <asp:LinkButton ID="lnkCambiarAlias" runat="server" Text="(Cambiar)" 
                                onclick="lnkCambiarAlias_Click"></asp:LinkButton>
                <asp:TextBox ID="txtAlias" runat="server" Width="158px" Visible="false"></asp:TextBox>                
               
        <br></br>
        <br></br>
        <asp:Button ID="btnGuardarAlias" runat="server" onclick="btnGuardarAlias_Click" 
            Text="Guardar" Visible="false" />
        &nbsp;&nbsp;<asp:Button ID="btnCancelar" runat="server" onclick="btnCancelar_Click" 
            Text="Cancelar" Visible="false" />
        <br>
        </br>
    </ContentTemplate>
</asp:UpdatePanel>
</div>

<cc2:Flyout ID="flyUsaurios" runat="server" AttachTo="lbtnBuscarUsuarios" Position="BOTTOM_LEFT"  >

 <div class="container" style="width: 740px; height: 240px;">
<!-- Container Head -->
<div class="container_head">
    <img src="../img/sidebar_left.jpg" alt="" class="float_left" />
    <img src="../img/sidebar_right.jpg" alt="" class="float_right" />
    <div class="container_head_text">
        Seleccionar Usuario
    </div>
</div>
<!-- Container Content -->
<div class="container_content">
    <div style="overflow-y:scroll;  overflow-x:hidden; width:730px; height:120px">
        <uc2:wucbusquedausuario ID="WUCBusquedaUsuario2" runat="server" OpcionInicial="Seleccionar" />
    </div>
</div>
</div>

</cc2:Flyout>



